/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.volatileshooter.entity.player;

import org.newdawn.slick.geom.Vector2f;

import com.volatileshooter.entity.Entity;

/**
 *
 * @author Ahmed
 */
public class PlayerEntity extends Entity {
	
	private Vector2f position;
	private Vector2f direction;
	private float angle;
	
	public PlayerEntity() {
		this.position = new Vector2f(400, 400);
		this.direction = new Vector2f(1, 0);
		angle = 0;
		this.addController(new PlayerController2(this));
	}
	
	public Vector2f getPosition() {
		return position;
	}

	/**
	 * @return the direction
	 */
	public Vector2f getDirection() {
		return direction;
	}

	/**
	 * @return the angle
	 */
	public float getAngle() {
		return angle;
	}

	/**
	 * @param angle the angle to set
	 */
	public void setAngle(float angle) {
		this.angle = angle;
	}	
}
